package com.own.business.system.dictionary.adapter.model;

import com.own.component.common.base.entity.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * DictionaryChildQuery
 *
 * @author chenxueli
 * @date 2024-05-21 10:09:12
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DictionaryChildQuery extends BaseQuery implements Serializable {

    @Schema(title = "上级id")
    private Long parentId;

    @Schema(title = "字典名称")
    private String name;

    @Schema(title = "唯一编号")
    private String code;

    @Schema(title = "是否可用")
    private Integer enable;

}
